using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class Cfg_Init : EntityBase
	{
		private System.String _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(ColumnName = CNId, IsPrimaryKey = true, IsNotNull = true)]
		public System.String Id
		{
			get { return _Id; }
			set
			{
				_Id = value;
				base.SetFieldChanged(CNId) ;
			}
		}

		private System.String _AssemblyName;
		/// <summary>
		/// AssemblyName
		/// </summary>
		[Entity(ColumnName = CNAssemblyName, IsNotNull = true)]
		public System.String AssemblyName
		{
			get { return _AssemblyName; }
			set
			{
				_AssemblyName = value;
				base.SetFieldChanged(CNAssemblyName) ;
			}
		}

		private System.String _TypeName;
		/// <summary>
		/// TypeName
		/// </summary>
		[Entity(ColumnName = CNTypeName, IsNotNull = true)]
		public System.String TypeName
		{
			get { return _TypeName; }
			set
			{
				_TypeName = value;
				base.SetFieldChanged(CNTypeName) ;
			}
		}

		private System.String _Remark;
		/// <summary>
		/// Remark
		/// </summary>
		[Entity(ColumnName = CNRemark, IsNotNull = true)]
		public System.String Remark
		{
			get { return _Remark; }
			set
			{
				_Remark = value;
				base.SetFieldChanged(CNRemark) ;
			}
		}

		private System.Boolean _IsUse;
		/// <summary>
		/// IsUse
		/// </summary>
		[Entity(ColumnName = CNIsUse, IsNotNull = true)]
		public System.Boolean IsUse
		{
			get { return _IsUse; }
			set
			{
				_IsUse = value;
				base.SetFieldChanged(CNIsUse) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNAssemblyName = "AssemblyName";
		public const string CNTypeName = "TypeName";
		public const string CNRemark = "Remark";
		public const string CNIsUse = "IsUse";
		#endregion

	}
}
